package com.dingdang.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董书乾
 * @since 2021-12-17
 */
@Data

@Accessors(chain = true)
@TableName("seckill_car")
@ApiModel(value="SeckillCar对象", description="商品促销")
public class SeckillCar implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键Id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "商品图片")
    @TableField("picture_url")
    private String pictureUrl;

    @ApiModelProperty(value = "原价格")
    @TableField("original_price")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "秒杀价格")
    @TableField("seckill_price")
    private BigDecimal seckillPrice;

    @ApiModelProperty(value = "卖家名称")
    @TableField("seller_name")
    private String sellerName;

    @ApiModelProperty(value = "添加日期")
    @TableField("create_time")
    private LocalDate createTime;

    @ApiModelProperty(value = "审核日期")
    @TableField("check_time")
    private LocalDate checkTime;

    @ApiModelProperty(value = "审核状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "开始时间")
    @TableField("start_time")
    private LocalDate startTime;

    @ApiModelProperty(value = "结束时间")
    @TableField("end_time")
    private LocalDate endTime;

    @ApiModelProperty(value = "商品描述")
    @TableField("introduction")
    private String introduction;

    @ApiModelProperty(value = "备用字段")
    @TableField("a")
    private String a;


}
